package com.hotel_management_backstage.lin.dao;

import com.hotel_management_backstage.lin.entity.SysRoom;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysRoomMapper {
    SysRoom selectById(int id);

    List<SysRoom> selectAll();

    void insertRoom(SysRoom sysRoom);

    void deleteRoomById(int id);

    void deleteRoomByRoomNumber(int roomNumber);

    SysRoom selectRoomByRoomNumber(int roomNumber);

    void updateRoom(SysRoom sysRoom);
}
